﻿using System.Windows.Controls;
using Microsoft.Practices.Unity;
using TripAssistantDesktop.ViewModel;

namespace TripAssistantDesktop.View
{
    /// <summary>
    /// Interaction logic for TripView.xaml
    /// </summary>
    public partial class TripView : UserControl
    {
        public TripView(IUnityContainer container)
        {
            InitializeComponent();
            DataContext = container.Resolve<ITripViewModel>(); 
        }
    }
}
